Optimal. Leaf size=48 \[ \frac{2 x^{5/2} \left (a+\frac{b}{x}\right )^{3/2}}{5 a}-\frac{4 b x^{3/2} \left (a+\frac{b}{x}\right )^{3/2}}{15 a^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0123544, antiderivative size = 48, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {271, 264} \[ \frac{2 x^{5/2} \left (a+\frac{b}{x}\right )^{3/2}}{5 a}-\frac{4 b x^{3/2} \left (a+\frac{b}{x}\right )^{3/2}}{15 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 271
Rule 264
Rubi steps
\begin{align*} \int \sqrt{a+\frac{b}{x}} x^{3/2} \, dx &=\frac{2 \left (a+\frac{b}{x}\right )^{3/2} x^{5/2}}{5 a}-\frac{(2 b) \int \sqrt{a+\frac{b}{x}} \sqrt{x} \, dx}{5 a}\\ &=-\frac{4 b \left (a+\frac{b}{x}\right )^{3/2} x^{3/2}}{15 a^2}+\frac{2 \left (a+\frac{b}{x}\right )^{3/2} x^{5/2}}{5 a}\\ \end{align*}
Mathematica [A] time = 0.0116979, size = 36, normalized size = 0.75 \[ \frac{2 \sqrt{x} \sqrt{a+\frac{b}{x}} (a x+b) (3 a x-2 b)}{15 a^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 33, normalized size = 0.7 \begin{align*}{\frac{ \left ( 2\,ax+2\,b \right ) \left ( 3\,ax-2\,b \right ) }{15\,{a}^{2}}\sqrt{{\frac{ax+b}{x}}}\sqrt{x}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.954613, size = 47, normalized size = 0.98 \begin{align*} \frac{2 \,{\left (3 \,{\left (a + \frac{b}{x}\right )}^{\frac{5}{2}} x^{\frac{5}{2}} - 5 \,{\left (a + \frac{b}{x}\right )}^{\frac{3}{2}} b x^{\frac{3}{2}}\right )}}{15 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.46204, size = 86, normalized size = 1.79 \begin{align*} \frac{2 \,{\left (3 \, a^{2} x^{2} + a b x - 2 \, b^{2}\right )} \sqrt{x} \sqrt{\frac{a x + b}{x}}}{15 \, a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 18.2156, size = 65, normalized size = 1.35 \begin{align*} \frac{2 \sqrt{b} x^{2} \sqrt{\frac{a x}{b} + 1}}{5} + \frac{2 b^{\frac{3}{2}} x \sqrt{\frac{a x}{b} + 1}}{15 a} - \frac{4 b^{\frac{5}{2}} \sqrt{\frac{a x}{b} + 1}}{15 a^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.24995, size = 50, normalized size = 1.04 \begin{align*} \frac{2}{15} \,{\left (\frac{2 \, b^{\frac{5}{2}}}{a^{2}} + \frac{3 \,{\left (a x + b\right )}^{\frac{5}{2}} - 5 \,{\left (a x + b\right )}^{\frac{3}{2}} b}{a^{2}}\right )} \mathrm{sgn}\left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]